package com.qingcheng.service.goods;
import com.qingcheng.entity.PageResult;
import com.qingcheng.pojo.order.Myfavorite;

import java.util.*;

/**
 * myfavorite业务逻辑层
 */
public interface MyfavoriteService {


    public List<Myfavorite> findAll();


    public PageResult<Myfavorite> findPage(int page, int size);


    public List<Myfavorite> findList(Map<String,Object> searchMap);


    public PageResult<Myfavorite> findPage(Map<String,Object> searchMap,int page, int size);


    public Myfavorite findById(Integer id);

    public void add(Myfavorite myfavorite);


    public void update(Myfavorite myfavorite);


    public void delete(Integer id);

}
